//
//  FTOptionPicker.h
//  FTPicker
//
//  Created by JackieYip on 2017/6/9.
//  Copyright © 2017年 mondial-d. All rights reserved.
//

#import "FTPresenter.h"

@class FTOptionPicker;

@protocol FTOptionPickerDelegate <FTPresenterDelegate>
- (NSInteger)numberOfItemsInPicker:(FTOptionPicker *)picker;
@optional
- (void)picker:(FTOptionPicker *)picker didSelectItemAtIndex:(NSInteger)index;
- (void)picker:(FTOptionPicker *)picker didDismissWithItemSelectedAtIndex:(NSInteger)index;
- (NSString *)picker:(FTOptionPicker *)picker textForItemAtIndex:(NSInteger)index;
- (BOOL)picker:(FTOptionPicker *)picker itemCheckedAtIndex:(NSInteger)index;

@end

@interface FTOptionPicker : FTPresenter
@property (nonatomic, weak) id <FTOptionPickerDelegate> delegate;
@property (nonatomic) NSTextAlignment itemTextAlignment;
@property (nonatomic) UIColor *itemTextColor;
@property (nonatomic) UIFont *itemFont;
@property (nonatomic) CGFloat itemHeight;
@end
